package cn.com.open.itembank.logic.importfilereader;

import cn.com.open.itembank.common.enums.ImportType;
import cn.com.open.itembank.dto.QuestionImportModel;

import java.util.List;

/**
 * Created by lucky on 2017/12/15.
 */
public interface FileReader {
    /**
     * 得到文件类型.
     *
     * @return the import type
     */
    ImportType getImportType();

    /**
     * 得到数据模型.
     *
     * @param filePath the file path
     * @return the data list
     */
    List<QuestionImportModel> getDataList(String filePath,String extendName);
}
